<?php
include("../class/domain.class.php");
$exts = array();

$str = $_GET['ext'];
$ext = strtok($str,",");
$exts[] = $ext;
while($ext = strtok(",")){
	$exts[] = $ext;
}

$domain = $_GET['domain'];
foreach($exts as $ext){
?>
<h3><?php echo $domain.$ext; ?></h3>

<div>
<?php
	if(Dm_MB::Check($domain,$ext))//
		echo '<font style="color:blue;">This domain is available!</font>';
	else
		echo '<font style="color:red;">Sorry, This domain is registed!</font>';
		//echo "<pre>".Dm_MB::Detail($domain,$ext)."</pre>";
?>
</div>
<?php
}
?>